package com.mhc.suzuki.manager;

import com.subaru.common.query.PageResult;
import com.mhc.suzuki.dal.model.IdCardLocationDO;
import com.mhc.suzuki.dal.query.IdCardLocationQuery;

import java.util.List;


/**
 * Manager for IdCardLocation.
 */
public interface IdCardLocationManager {
    /**
     * query count by query condition.
     */
    int countByQuery(IdCardLocationQuery query);

    /**
     * delete by query condition.
     */
    int deleteByQuery(IdCardLocationQuery query);

    /**
     * delete by primary key.
     */
    int deleteByPrimaryKey(IdCardLocationDO record);

    /**
     * insert selective.
     */
    long insertSelective(IdCardLocationDO record);

    /**
     * select by query condition.
     */
    List<IdCardLocationDO> selectByQuery(IdCardLocationQuery query);


    /**
     * select by query condition with page.
     */
    PageResult<IdCardLocationDO> selectByQueryWithPage(IdCardLocationQuery query);

    /**
     * select by primary key.
     */
    IdCardLocationDO selectByPrimaryKey(Long id);

    /**
     * update by query condition selective.
     */
    int updateByQuerySelective( IdCardLocationDO record,  IdCardLocationQuery query);

    /**
     * update by query condition.
     */
    int updateByQuery(IdCardLocationDO record, IdCardLocationQuery query);

    /**
     * update by primary key selective.
     */
    int updateByPrimaryKeySelective(IdCardLocationDO record);
}